import fetch from '../assets/js/fetch'

const urlPrefix = '/order/management/orders'

export const pageOrders = (pageNum, pageSize) => fetch('GET', `${urlPrefix}/page`, {
  pageNum,
  pageSize,
})